package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.EmployeeIndicatorScore;
import org.apache.ibatis.annotations.Mapper;

/**
* @author Lenovo
* @description 针对表【employee_indicator_score(员工-指标-得分-Dmy)】的数据库操作Mapper
* @createDate 2025-06-11 20:51:30
* @Entity com.ruoyi.system.domain.EmployeeIndicatorScore
*/
@Mapper
public interface EmployeeIndicatorScoreMapper {

    int deleteByPrimaryKey(Long id);

    int insert(EmployeeIndicatorScore record);

    int insertSelective(EmployeeIndicatorScore record);

    EmployeeIndicatorScore selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(EmployeeIndicatorScore record);

    int updateByPrimaryKey(EmployeeIndicatorScore record);

    //根据员工id删除
    int deleteByEmployeeId(Integer employeeId);

    //根据用户id和指标id更改分数
    int updateScoreByEmployeeIdAndIndicatorsId(EmployeeIndicatorScore employeeIndicatorScore);

}
